home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PsL Monthly 1993 December
/
PSL Monthly Shareware CD-ROM (December 1993).iso
/
prgmming
/
dos
/
fortran
/
peekpo.com
/
GET2.FOR
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1989-10-12
|
404 b
|
13 lines
SUBROUTINE GET_IT(SCREEN,ICOLUMN,ILINE,ILENGTH,STRING)
character*(*) string ! Capture into this
integer*2 screen(80,25) ! This is the tube
integer*2 ic
c
do 20 i=1,ilength
ic=screen(icolumn+i-1,iline)
c iatt=ishft(ic,-8) ! This is the video attribute
20 string(i:i)=char(iand(ic,255))
c
return
end